package com.duobaoyu.dby.supply.biz.client.resource;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.duobaoyu.dby.supply.biz.client.resource.bean.dto.BusinessConfigDTO;
import com.duobaoyu.dby.supply.biz.client.resource.bean.dto.BusinessConfigQueryDTO;
import com.duobaoyu.dby.supply.biz.client.resource.bean.vo.BusinessConfigInfoVO;
import com.duobaoyu.dby.supply.biz.client.resource.bean.vo.BusinessConfigVO;

import java.util.List;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName ResourceBusinessConfigAdminClient
 * @Description 业务配置 Client
 * @createTime 12:15:00 2023/10/08
 */
public interface ResourceBusinessConfigAdminClient {

    Boolean removeConfigIds(List<Long> configIds);

    Boolean deleteCache();

    Boolean saveBusinessConfig(BusinessConfigDTO businessConfig);

    Page<BusinessConfigInfoVO> queryPage(BusinessConfigQueryDTO businessConfigQuery);

    BusinessConfigInfoVO details(Long id);

    List<BusinessConfigVO> getProductMappingBizConfig();

    List<BusinessConfigVO> getBizConfig();

    BusinessConfigVO getBizCode(String bizCode);
}
